package com.lsu.app.bean;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author hjj
 * @date 2023/11/16 16:30
 */
@Data
@ApiModel(value="TreeData对象", description="学生页面智能知识树")
public class TreeData {
    @ApiModelProperty("一级知识名称")
    private String name;

    @ApiModelProperty("子类知识名称集合")
    private String[] child;

    public TreeData(String name, String[] child) {
        this.name = name;
        this.child = child;
    }
}
